<?php
class ModulesAction extends Action {
    //显示一个广告位列表
	public function AdvList(){
		$ModulesDB = D('Modules');
		$this->initView();
		echo $this->view -> fetch('Public:header');
		echo $ModulesDB->getListToString($this->_get('id'),$this->view,false,true);
		$this->display();
	}
}